package com.chenyao.bookstore.entity;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
	public static final String COLUMN_CREATEDATE = "createDate";
	public static final String COLUMN_ID = "id";
	public static final String COLUMN_PASSWORD = "password";
	public static final String COLUMN_USERNAME = "username";

	/**
	 * serialVersionUID.
	 */
	private static final long serialVersionUID = -1015097612649048503L;

	private Date createData;

	private Integer id;
	private String password;
	private String username;

	/**
	 * default constructor.
	 */
	public User() {
		super();
	}

	public User(final Integer id, final String username, final String password) {
		this.id = id;
		this.username = username;
		this.password = password;
	}

	public final Date getCreateData() {
		return this.createData;
	}

	public final Integer getId() {
		return this.id;
	}

	public final String getPassword() {
		return this.password;
	}

	public final String getUsername() {
		return this.username;
	}

	public final void setCreateData(final Date createData) {
		this.createData = createData;
	}

	public final void setId(final Integer id) {
		this.id = id;
	}

	public final void setPassword(final String password) {
		this.password = password;
	}

	public final void setUsername(final String username) {
		this.username = username;
	}

}
